<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
putenv('AP_ENV=development');
defined('ROOT')||define('ROOT',  dirname(dirname(dirname(__FILE__))));
defined('AP_PATH')||define('AP_PATH',dirname(__FILE__).'/application');
defined('AP_ENV')||define('AP_ENV',  getenv('AP_ENV')?getenv('AP_ENV'):'production');
define('DS',DIRECTORY_SEPARATOR);
set_include_path(implode(PATH_SEPARATOR,array(realpath(ROOT.'/library'),  get_include_path()) ));
require_once 'Zend/Application.php';
$application = new Zend_Application(AP_ENV, ROOT.'/zendweb/configs/application.ini');
$application->bootstrap()->run();
//$r = new ReflectionClass('Zend_Application');
//Reflection::export($r);
//echo implode(PATH_SEPARATOR,array(realpath(ROOT.'/library'),  get_include_path()) );
?>
